package mapper;

import java.util.List;
import java.util.Map;

import bean.Admin;

public interface AdminMapper{
	public Admin findByUsernameAndPassword(Map<String, Object> map);
	public void addAdmin(Admin admin);
	public void altAdmin(Admin admin);
	public void lockAdmin(Map<String, Object> map);
	public void delAdmin(Integer id);
	public List<Admin> findByUsername(String username);
	public List<Admin> findAll(Map<String, Object> map);
}